import os
import json
import random
import uuid

    
    
async def create_equipments():
    
    
    if not os.path.exists("data/冠名.txt"):
        with open("data/冠名.txt", 'w') as f:
            f.write('{}')

    if not os.path.exists("data/equipment"):
        os.makedirs("data/equipment")
    

    with open("data/equipment/布衣.txt", 'w') as f:
        f.write('{"id": 5, "名称": "布衣", "类型": "装备", "部位": "上身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 1, "魔防": 1}, "简介": "", "套装": []}')
    with open("data/equipment/布裤.txt", 'w') as f:
        f.write('{"id": 5, "名称": "布裤", "类型": "装备", "部位": "下身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 1, "魔防": 1}, "简介": "", "套装": []}')
    with open("data/equipment/布带.txt", 'w') as f:
        f.write('{"id": 5, "名称": "布带", "类型": "装备", "部位": "腰部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 1, "魔防": 1}, "简介": "", "套装": []}')
    with open("data/equipment/布帽.txt", 'w') as f:
        f.write('{"id": 5, "名称": "布帽", "类型": "装备", "部位": "头肩", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 1, "魔防": 1}, "简介": "", "套装": []}')
    with open("data/equipment/布鞋.txt", 'w') as f:
        f.write('{"id": 5, "名称": "布鞋", "类型": "装备", "部位": "脚部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 1, "魔防": 1}, "简介": "", "套装": []}')

    with open("data/equipment/破戒指.txt", 'w') as f:
        f.write('{"id": 106, "名称": "破戒指", "类型": "装备", "部位": "戒指", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 1}, "简介": "", "套装": []}')
    with open("data/equipment/破手镯.txt", 'w') as f:
        f.write('{"id": 107, "名称": "破手镯", "类型": "装备", "部位": "手镯", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 1}, "简介": "", "套装": []}')
    with open("data/equipment/破项链.txt", 'w') as f:
        f.write('{"id": 108, "名称": "破项链", "类型": "装备", "部位": "项链", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 1}, "简介": "", "套装": []}')

    with open("data/equipment/树枝.txt", 'w') as f:
        f.write('{"id": 1, "名称": "树枝", "类型": "装备", "部位": "武器", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物攻": 30, "魔攻": 60, "速度": 60}, "简介": ""}')
        
    with open("data/equipment/魔力树枝.txt", 'w') as f:
        f.write('{"id": 1, "名称": "魔力树枝", "类型": "装备", "部位": "武器", "需求": {"力量": 0, "智力": 2, "体质": 0, "敏捷": 0}, "属性": {"魔攻": 120, "暴击": 120, "命中": 120}, "简介": ""}')
    
    with open("data/equipment/木棍.txt", 'w') as f:
        f.write('{"id": 2, "名称": "木棍", "类型": "装备", "部位": "武器", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物攻": 80}, "简介": ""}')

    with open("data/equipment/强化木棍.txt", 'w') as f:
        f.write('{"id": 2, "名称": "强化木棍", "类型": "装备", "部位": "武器", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物攻": 120, "暴伤": 120, "命中": 120}, "简介": ""}')
    
    with open("data/equipment/骨棒.txt", 'w') as f:
        f.write('{"id": 3, "名称": "骨棒", "类型": "装备", "部位": "武器", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物攻": 120, "速度": -30, "命中": -30}, "简介": ""}')

    with open("data/equipment/强化骨棒.txt", 'w') as f:
        f.write('{"id": 3, "名称": "强化骨棒", "类型": "装备", "部位": "武器", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物攻": 220}, "简介": ""}')

    with open("data/equipment/骨盾.txt", 'w') as f:
        f.write('{"id": 3, "名称": "骨盾", "类型": "装备", "部位": "副手", "需求": {"力量": 5, "智力": 0, "体质": 5, "敏捷": 0}, "属性": {"物防": 90, "魔防": 90, "速度": -100, "闪避": -100}, "简介": ""}')

    with open("data/equipment/强化骨盾.txt", 'w') as f:
        f.write('{"id": 3, "名称": "强化骨盾", "类型": "装备", "部位": "副手", "需求": {"力量": 5, "智力": 0, "体质": 5, "敏捷": 0}, "属性": {"物防": 180, "魔防": 180, "速度": -180, "闪避": -180}, "简介": ""}')

    with open("data/equipment/黯淡的强化装置.txt", 'w') as f:
        f.write('{"id": 3, "名称": "黯淡的强化装置", "类型": "装备", "部位": "副手", "需求": {"力量": 0, "智力": 0, "体质": 5, "敏捷": 0}, "属性": {"物攻": 20, "魔攻": 20, "命中": 20, "速度": 20, "暴击": 20, "暴伤": 20}, "简介": ""}')
    with open("data/equipment/陈旧的强化装置.txt", 'w') as f:
        f.write('{"id": 3, "名称": "陈旧的强化装置", "类型": "装备", "部位": "副手", "需求": {"力量": 0, "智力": 0, "体质": 5, "敏捷": 0}, "属性": {"物攻": 40, "魔攻": 40, "命中": 40, "速度": 40, "暴击": 40, "暴伤": 40}, "简介": ""}')

    with open("data/equipment/羽枝头冠.txt", 'w') as f:
        f.write('{"id": 4, "名称": "羽枝头冠", "类型": "装备", "部位": "头肩", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 5, "速度": 15, "闪避": 15}, "简介": "", "套装": ["轻甲", "适应"]}')

    with open("data/equipment/木叶上衣.txt", 'w') as f:
        f.write('{"id": 5, "名称": "木叶上衣", "类型": "装备", "部位": "上身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 10, "速度": 10, "闪避": 10}, "简介": "", "套装": ["轻甲", "适应"]}')
    
    with open("data/equipment/藤蔓腰带.txt", 'w') as f:
        f.write('{"id": 6, "名称": "藤蔓腰带", "类型": "装备", "部位": "腰部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 5, "速度": 15, "闪避": 15}, "简介": "", "套装": ["轻甲", "适应"]}')

    with open("data/equipment/木叶长裤.txt", 'w') as f:
        f.write('{"id": 7, "名称": "木叶长裤", "类型": "装备", "部位": "下身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 10, "速度": 10, "闪避": 10}, "简介": "", "套装": ["轻甲", "适应"]}')

    with open("data/equipment/轻羽靴.txt", 'w') as f:
        f.write('{"id": 8, "名称": "轻羽靴", "类型": "装备", "部位": "脚部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"速度": 25, "闪避": 10}, "简介": "", "套装": ["轻甲", "适应"]}')

    with open("data/equipment/逐风头冠.txt", 'w') as f:
        f.write('{"id": 4, "名称": "逐风头冠", "类型": "装备", "部位": "头肩", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 50, "命中": 400}, "简介": "", "套装": ["轻甲", "适应"]}')

    with open("data/equipment/随风羽衣.txt", 'w') as f:
        f.write('{"id": 5, "名称": "随风羽衣", "类型": "装备", "部位": "上身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 50, "速度": 200, "闪避": 200}, "简介": "", "套装": ["轻甲", "适应"]}')
    
    with open("data/equipment/风眷腰带.txt", 'w') as f:
        f.write('{"id": 6, "名称": "灵明腰带", "类型": "装备", "部位": "腰部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 50, "速度": 200, "闪避": 200}, "简介": "", "套装": ["轻甲", "适应"]}')

    with open("data/equipment/迎风长裤.txt", 'w') as f:
        f.write('{"id": 7, "名称": "迎风长裤", "类型": "装备", "部位": "下身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 50, "速度": 200, "闪避": 200}, "简介": "", "套装": ["轻甲", "适应"]}')

    with open("data/equipment/踏风靴.txt", 'w') as f:
        f.write('{"id": 8, "名称": "踏风靴", "类型": "装备", "部位": "脚部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 50, "速度": 200, "闪避": 200}, "简介": "", "套装": ["轻甲", "适应"]}')

    with open("data/equipment/甲皮兜帽.txt", 'w') as f:
        f.write('{"id": 4, "名称": "甲皮兜帽", "类型": "装备", "部位": "头肩", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 30, "魔防": 5}, "简介": "", "套装": ["中甲", "适应"]}')

    with open("data/equipment/硬皮上衣.txt", 'w') as f:
        f.write('{"id": 5, "名称": "兽皮上衣", "类型": "装备", "部位": "上身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 15, "魔防": 15}, "简介": "", "套装": ["中甲", "适应"]}')
    
    with open("data/equipment/柔皮腰带.txt", 'w') as f:
        f.write('{"id": 6, "名称": "柔皮腰带", "类型": "装备", "部位": "腰部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 5, "魔防": 30}, "简介": "", "套装": ["中甲", "适应"]}')

    with open("data/equipment/硬皮长裤.txt", 'w') as f:
        f.write('{"id": 7, "名称": "兽皮长裤", "类型": "装备", "部位": "下身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 15, "魔防": 15}, "简介": "", "套装": ["中甲", "适应"]}')

    with open("data/equipment/翘皮靴.txt", 'w') as f:
        f.write('{"id": 8, "名称": "翘皮靴", "类型": "装备", "部位": "脚部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 5, "魔防": 5, "速度": 25}, "简介": "", "套装": ["中甲", "适应"]}')

    with open("data/equipment/蛙蛙帽.txt", 'w') as f:
        f.write('{"id": 4, "名称": "蛙蛙帽", "类型": "装备", "部位": "头肩", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"魔防": 100, "命中": 300}, "简介": "", "套装": ["中甲", "适应"]}')

    with open("data/equipment/鲶皮上衣.txt", 'w') as f:
        f.write('{"id": 5, "名称": "鲶皮上衣", "类型": "装备", "部位": "上身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 100, "暴击": 400}, "简介": "", "套装": ["中甲", "适应"]}')
    
    with open("data/equipment/水灵腰带.txt", 'w') as f:
        f.write('{"id": 6, "名称": "水灵腰带", "类型": "装备", "部位": "腰部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"魔防": 100, "暴伤": 400}, "简介": "", "套装": ["中甲", "适应"]}')

    with open("data/equipment/鲶皮长裤.txt", 'w') as f:
        f.write('{"id": 7, "名称": "鲶皮长裤", "类型": "装备", "部位": "下身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 100, "暴击": 400}, "简介": "", "套装": ["中甲", "适应"]}')

    with open("data/equipment/蛙蹼靴.txt", 'w') as f:
        f.write('{"id": 8, "名称": "蛙蹼靴", "类型": "装备", "部位": "脚部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"暴击": 300, "暴伤": 300}, "简介": "", "套装": ["中甲", "适应"]}')

    with open("data/equipment/晶石头盔.txt", 'w') as f:
        f.write('{"id": 4, "名称": "晶石头盔", "类型": "装备", "部位": "头肩", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 45, "魔防": 20, "速度": -10, "闪避": -20}, "简介": "", "套装": ["重甲", "适应"]}')

    with open("data/equipment/魔岩铠甲.txt", 'w') as f:
        f.write('{"id": 5, "名称": "魔岩铠甲", "类型": "装备", "部位": "上身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 30, "魔防": 30, "速度": -10, "闪避": -20}, "简介": "", "套装": ["重甲", "适应"]}')
    
    with open("data/equipment/晶石腰带.txt", 'w') as f:
        f.write('{"id": 6, "名称": "晶石腰带", "类型": "装备", "部位": "腰部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 45, "魔防": 20, "速度": -10, "闪避": -20}, "简介": "", "套装": ["重甲", "适应"]}')

    with open("data/equipment/魔岩护腿.txt", 'w') as f:
        f.write('{"id": 7, "名称": "魔岩护腿", "类型": "装备", "部位": "下身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 30, "魔防": 30, "速度": -10, "闪避": -20}, "简介": "", "套装": ["重甲", "适应"]}')

    with open("data/equipment/晶石鞋.txt", 'w') as f:
        f.write('{"id": 8, "名称": "晶石鞋", "类型": "装备", "部位": "脚部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 45, "魔防": 20, "速度": -10, "闪避": -20}, "简介": "", "套装": ["重甲", "适应"]}')

    with open("data/equipment/巨石头盔.txt", 'w') as f:
        f.write('{"id": 4, "名称": "巨石头盔", "类型": "装备", "部位": "头肩", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 50, "魔防": 50, "韧性": 500}, "简介": "", "套装": ["重甲", "适应"]}')

    with open("data/equipment/巨石铠甲.txt", 'w') as f:
        f.write('{"id": 5, "名称": "巨石铠甲", "类型": "装备", "部位": "上身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 150, "魔防": 150, "韧性": 100}, "简介": "", "套装": ["重甲", "适应"]}')
    
    with open("data/equipment/巨石腰带.txt", 'w') as f:
        f.write('{"id": 6, "名称": "巨石腰带", "类型": "装备", "部位": "腰部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 50, "魔防": 50, "韧性": 500}, "简介": "", "套装": ["重甲", "适应"]}')

    with open("data/equipment/巨石护腿.txt", 'w') as f:
        f.write('{"id": 7, "名称": "巨石护腿", "类型": "装备", "部位": "下身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 150, "魔防": 150, "韧性": 100}, "简介": "", "套装": ["重甲", "适应"]}')

    with open("data/equipment/巨石鞋.txt", 'w') as f:
        f.write('{"id": 8, "名称": "巨石鞋", "类型": "装备", "部位": "脚部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 150, "魔防": 150, "韧性": 100}, "简介": "", "套装": ["重甲", "适应"]}')

    with open("data/equipment/天顶剑.txt", 'w') as f:
        f.write('{"id": 1001, "名称": "天顶剑", "类型": "装备", "部位": "武器", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物攻": 333, "命中": 333, "暴击": 333, "暴伤": 333}, "简介": ""}')    
    
    with open("data/equipment/破法之衫.txt", 'w') as f:
        f.write('{"id": 101, "名称": "破法之衫", "类型": "装备", "部位": "上身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"魔防": 100, "韧性": 100}, "简介": "", "套装": []}')

    with open("data/equipment/深邃之袍.txt", 'w') as f:
        f.write('{"id": 102, "名称": "深邃之袍", "类型": "装备", "部位": "下身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 100, "韧性": 100}, "简介": "", "套装": []}')

    with open("data/equipment/轻舞之肩.txt", 'w') as f:
        f.write('{"id": 101, "名称": "轻舞之肩", "类型": "装备", "部位": "上身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"速度": 200, "闪避": 200}, "简介": "", "套装": ["轻甲", "贤者之歌"]}')

    with open("data/equipment/引风之摆.txt", 'w') as f:
        f.write('{"id": 102, "名称": "引风之摆", "类型": "装备", "部位": "下身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"速度": 200, "闪避": 200}, "简介": "", "套装": ["轻甲", "贤者之歌"]}')

    with open("data/equipment/飘逸之履.txt", 'w') as f:
        f.write('{"id": 103, "名称": "飘逸之履", "类型": "装备", "部位": "脚部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"速度": 400}, "简介": "", "套装": ["轻甲", "贤者之歌"]}') 

    with open("data/equipment/缥缈之冠.txt", 'w') as f:
        f.write('{"id": 104, "名称": "缥缈之冠", "类型": "装备", "部位": "头肩", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"命中": 400}, "简介": "", "套装": ["轻甲", "贤者之歌"]}') 

    with open("data/equipment/灵动之束.txt", 'w') as f:
        f.write('{"id": 105, "名称": "灵动之束", "类型": "装备", "部位": "腰部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"闪避": 400}, "简介": "", "套装": ["轻甲", "贤者之歌"]}') 

    with open("data/equipment/神藏之衣.txt", 'w') as f:
        f.write('{"id": 101, "名称": "神藏之衣", "类型": "装备", "部位": "上身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"暴击": 300, "物防": 50, "魔防": 50}, "简介": "", "套装": ["中甲", "贤者之歌"]}')

    with open("data/equipment/深邃之围.txt", 'w') as f:
        f.write('{"id": 102, "名称": "深邃之围", "类型": "装备", "部位": "下身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"暴击": 300, "物防": 50, "魔防": 50}, "简介": "", "套装": ["中甲", "贤者之歌"]}')

    with open("data/equipment/坚毅之根.txt", 'w') as f:
        f.write('{"id": 103, "名称": "坚毅之根", "类型": "装备", "部位": "脚部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"暴伤": 300, "物防": 50, "魔防": 50}, "简介": "", "套装": ["中甲", "贤者之歌"]}') 

    with open("data/equipment/智识之冕.txt", 'w') as f:
        f.write('{"id": 104, "名称": "智识之冕", "类型": "装备", "部位": "头肩", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"命中": 400}, "简介": "", "套装": ["中甲", "贤者之歌"]}') 

    with open("data/equipment/眷力腰带.txt", 'w') as f:
        f.write('{"id": 105, "名称": "眷力腰带", "类型": "装备", "部位": "腰部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"暴伤": 300, "物防": 50, "魔防": 50}, "简介": "", "套装": ["中甲", "贤者之歌"]}') 

    with open("data/equipment/魔神铠甲.txt", 'w') as f:
        f.write('{"id": 101, "名称": "魔神铠甲", "类型": "装备", "部位": "上身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 150, "魔防": 50, "韧性": 200}, "简介": "", "套装": ["重甲", "贤者之歌"]}')

    with open("data/equipment/魔神护腿.txt", 'w') as f:
        f.write('{"id": 102, "名称": "魔神护腿", "类型": "装备", "部位": "下身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 150, "魔防": 50, "韧性": 200}, "简介": "", "套装": ["重甲", "贤者之歌"]}')

    with open("data/equipment/魔神甲鞋.txt", 'w') as f:
        f.write('{"id": 103, "名称": "魔神甲鞋", "类型": "装备", "部位": "脚部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 50, "魔防": 50, "韧性": 300}, "简介": "", "套装": ["重甲", "贤者之歌"]}') 

    with open("data/equipment/魔神头盔.txt", 'w') as f:
        f.write('{"id": 104, "名称": "魔神头盔", "类型": "装备", "部位": "头肩", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 50, "魔防": 150, "韧性": 200}, "简介": "", "套装": ["重甲", "贤者之歌"]}') 

    with open("data/equipment/魔神腰带.txt", 'w') as f:
        f.write('{"id": 105, "名称": "魔神腰带", "类型": "装备", "部位": "腰部", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 50, "魔防": 150, "韧性": 200}, "简介": "", "套装": ["重甲", "贤者之歌"]}') 
    
    with open("data/equipment/先贤之指引.txt", 'w') as f:
        f.write('{"id": 106, "名称": "先贤之指引", "类型": "装备", "部位": "戒指", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"暴击": 400, "暴伤": 400}, "简介": "", "套装": ["贤者之歌"]}')

    with open("data/equipment/先贤之伟力.txt", 'w') as f:
        f.write('{"id": 107, "名称": "先贤之伟力", "类型": "装备", "部位": "手镯", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物攻": 150, "魔攻": 150}, "简介": "", "套装": ["贤者之歌"]}')

    with open("data/equipment/先贤之加护.txt", 'w') as f:
        f.write('{"id": 108, "名称": "先贤之加护", "类型": "装备", "部位": "项链", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"暴免": 400, "暴抗": 400}, "简介": "", "套装": ["贤者之歌"]}')

    with open("data/equipment/破灭万法之符.txt", 'w') as f:
        f.write('{"id": 109, "名称": "破灭万法之符", "类型": "装备", "部位": "副手", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"魔攻": 200, "命中": 800}, "简介": "", "套装": ["破法", "贤者之歌"]}')

    with open("data/equipment/光之颂歌.txt", 'w') as f:
        f.write('{"id": 110, "名称": "光之颂歌", "类型": "装备", "部位": "武器", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"魔攻": 100, "暴免": 100, "暴抗": 100, "韧性": 1000}, "简介": "", "套装": ["光附魔", "治疗提升"]}')

    with open("data/equipment/暗之礼赞.txt", 'w') as f:
        f.write('{"id": 111, "名称": "暗之礼赞", "类型": "装备", "部位": "武器", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"魔攻": 200, "暴击": 400, "暴伤": 400}, "简介": "", "套装": ["暗附魔", "伤害加深"]}')

    with open("data/equipment/死神的凝视.txt", 'w') as f:
        f.write('{"id": 112, "名称": "死神的凝视", "类型": "装备", "部位": "武器", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物攻": 160, "命中": 300, "暴击": 600}, "简介": "", "套装": ["邪视", "诅咒"]}')

    with open("data/equipment/黎明锋刃.txt", 'w') as f:
        f.write('{"id": 113, "名称": "黎明锋刃", "类型": "装备", "部位": "副手", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物攻": 200, "命中": 400, "速度": 400}, "简介": "", "套装": ["黎明", "贤者之歌"]}')
    
    with open("data/equipment/魔狼利爪.txt", 'w') as f:
        f.write('{"id": 114, "名称": "魔狼利爪", "类型": "装备", "部位": "武器", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物攻": 240, "速度": 180, "命中": 180, "暴击": 180, "暴伤": 180}, "简介": "", "套装": ["撕裂", "嗜血"]}')
    
    with open("data/equipment/不动如山.txt", 'w') as f:
        f.write('{"id": 115, "名称": "不动如山", "类型": "装备", "部位": "副手", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 200, "魔防": 200, "韧性": 600}, "简介": "", "套装": ["山崩", "贤者之歌"]}')

    with open("data/equipment/黏糊糊的手环.txt", 'w') as f:
        f.write('{"id": 106, "名称": "黏糊糊的手环", "类型": "装备", "部位": "手镯", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"暴击": 30, "暴伤": 30}, "简介": "好黏啊~", "套装": ["史史史"]}')

    with open("data/equipment/滑溜溜的戒指.txt", 'w') as f:
        f.write('{"id": 107, "名称": "滑溜溜的戒指", "类型": "装备", "部位": "戒指", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"命中": 30, "闪避": 30}, "简介": "好滑啊~", "套装": ["史史史"]}')

    with open("data/equipment/湿漉漉的项链.txt", 'w') as f:
        f.write('{"id": 108, "名称": "湿漉漉的项链", "类型": "装备", "部位": "项链", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"暴免": 30, "暴抗": 30}, "简介": "好湿啊~", "套装": ["史史史"]}')
    
    with open("data/equipment/爱心手环.txt", 'w') as f:
        f.write('{"id": 106, "名称": "爱心手环", "类型": "装备", "部位": "戒指", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"暴击": 66, "暴伤": 66, "物防": 66, "魔防": 66}, "简介": "充满爱的手环~", "套装": ["史史史", "献爱心"]}')

    with open("data/equipment/爱心戒指.txt", 'w') as f:
        f.write('{"id": 107, "名称": "爱心戒指", "类型": "装备", "部位": "手镯", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"命中": 66, "闪避": 66, "物攻": 66, "魔攻": 66}, "简介": "充满爱的戒指~", "套装": ["史史史", "献爱心"]}')

    with open("data/equipment/爱心项链.txt", 'w') as f:
        f.write('{"id": 108, "名称": "爱心项链", "类型": "装备", "部位": "项链", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"暴免": 66, "暴抗": 66, "最大生命": 666, "最大魔力": 666}, "简介": "充满爱的项链~", "套装": ["史史史", "献爱心"]}')

    with open("data/equipment/劣等刺甲.txt", 'w') as f:
        f.write('{"id": 109, "名称": "劣等刺甲", "类型": "装备", "部位": "上身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 100, "物理减伤": 10}, "简介": "", "套装": ["重甲", "反震Ⅰ"]}')

    with open("data/equipment/中等刺甲.txt", 'w') as f:
        f.write('{"id": 110, "名称": "中等刺甲", "类型": "装备", "部位": "上身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 150, "物理减伤": 20}, "简介": "", "套装": ["重甲", "反震Ⅱ"]}')

    with open("data/equipment/上等刺甲.txt", 'w') as f:
        f.write('{"id": 111, "名称": "上等刺甲", "类型": "装备", "部位": "上身", "需求": {"力量": 0, "智力": 0, "体质": 0, "敏捷": 0}, "属性": {"物防": 200, "物理减伤": 30}, "简介": "", "套装": ["重甲", "反震Ⅲ"]}')


    if not os.path.exists("data/equipment_id"):
        os.makedirs("data/equipment_id")
    with open("data/equipment_id/1.txt", 'w') as f:
        f.write('{"强化": 8, "附魔": {"物攻": "100%", "魔攻": "100%"}}')

